# [x,y] product sum = x + y
# [x, [y, z]] product sum = x + 2 * (y + z)
# [x, [y, [z, q]]]